Reducing the Cost of Precise Types

نویسنده

  • Nicolas Frisby
چکیده

Programs involving precise types enforce more properties via type-checking, but precise types also prevent the reuse of functions throughout a program since no single precise type is used throughout a large program. My work is a step toward eliminating the underlying dilemma regarding type precision versus function reuse. It culminates in a novel traversal operator that recovers the reuse by automating most of each conversion between “similar” precise types, for a notion of similarity that I characterize in both the intuitive and technical senses. The benefits of my techniques are clear in side-by-side comparisons; in particular, I apply my techniques to two definitions of lambda-lifting. I present and implement my techniques in the Haskell programming language, but the fundamental ideas are applicable to any staticallyand strongly-typed programming functional language with algebraic data types.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Pluriactivity: An Entrepreneurial Strategy for Smallholder Farmers

     Rural entrepreneurship is a new way in development theories for empowerment and capacity building in rural areas to change the current pattern of human living to a desirable and merit pattern. One of the manifestations of entrepreneurship is pluriactivity. Therefore, the purpose of this study was conducted on analyzing and pondering in the farmers' pluriactivity. Pluriactivity is defined a...

متن کامل

Reducing Computational and Memory Cost of Substructuring Technique in Finite Element Models

Substructuring in the finite element method is a technique that reduces computational cost and memory usage for analysis of complex structures. The efficiency of this technique depends on the number of substructures in different problems. Some subdivisions increase computational cost, but require little memory usage and vice versa. In the present study, the cost functions of computations and me...

متن کامل

Calculating cost efficiency using prices dependent on time via approximate method

In the traditional cost-efficiency model, the information about each decision unit includes inputs, outputs, and the input prices are fixed and specific. In practice, the price of the inputs often fluctuates at different times, and these prices for the decision-making unit are time-dependent. By the traditional method, the efficiency of decision units is impossible in the presence of time-depen...

متن کامل

Reducing Agents Enhanced Electrokinetic Soil Remediation (EKSR) for Heavy Metal Contaminated Soil

Reducing agents-Enhanced electrokinetic Soil Remediation (EKSR) was performed for the removal of chromium (Cr), cobalt (Co) and nickel (Ni) from contaminated soil. The reducing agents oxalic acid and ascorbic acid were investigated under constant voltage gradient (2.0 V/cm), current changes, pH, redox potential, concentration changes and removal performance of Heavy Metals (HMs). The result...

متن کامل

Effects of fasting on the immune system function and its positive effects on the chemotherapy of various types of cancer

Fasting is one of the most basic religions in Islam. The body considers fasting as a stress and tries to cope with it through a path called self-regulating stress. The effects of fasting on various diseases and different physiological conditions have been evaluated and its positive effects have been shown in many diseases. The effects of fasting on the immune system of healthy people in general...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012